/*
 * NavigateItem.java
 *
 * Copyright 2008 David D. Emory
 * 
 * This file is part of Five Points. See <http://www.fpdev.org> for
 * additional information regarding the project.
 * 
 * Five Points is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Five Points is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Five Points.  If not, see <http://www.gnu.org/licenses/>.
 */
package org.fpdev.core.trip;

import java.awt.geom.Rectangle2D;
import java.util.LinkedList;
import java.util.List;
import org.fpdev.core.basenet.BaseNetwork;
import org.fpdev.core.transit.Station;
import org.fpdev.apps.rtemaster.gui.map.MapCanvas;

public class NavigateItem implements TripItem {

  //private String staStr_, navStr_;
  private int start_,  end_; //, dist_;
  private Station station_;

  public NavigateItem(Station station, int start, int end) {
    station_ = station;
    start_ = start;
    end_ = end;
  }

  public List getLinkIDList() {
    return new LinkedList<Integer>();
  }

  public String getXml(BaseNetwork net) {
    return "";
  }

  public String getText() {
    return "";
  }

  public Station getStation() {
    return station_;
  }

  public int getStart() {
    return start_;
  }

  public int getEnd() {
    return end_;
  }

  public int getType() {
    return TripItem.TRIP_NAVIGATE;
  }

  public int subItemCount() {
    return 1;
  }

  public void draw(MapCanvas canvas) {
  }

  public Rectangle2D.Double getBoundingBox() {
    return null;
  }

  public String getItemName() {
    return "nav";
  }
}




























